import 'package:flutter/material.dart';
// import '../data/CustomData.dart';

class Detail extends StatefulWidget {
  Detail({Key key, @required this.nm}) : super(key: key);
  final String nm;

  @override
  _DetailState createState() => _DetailState();
}

class _DetailState extends State<Detail> {
  // final List infoList = new CustomData().infoList;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      //获取路由传参
      appBar: AppBar(title: Text('${widget.nm}')),
      body: Column(
        children: <Widget>[
          // Image(image: NetworkImage("")),
          Row(
            children: <Widget>[Text("0")],
          )
        ],
      ),
    );
  }
}
